package com.faiz.picturebed.common;

public enum PictureType {

    JPG(".jpg", 0),
    PNG(".png", 1);

    private final String type;

    private final int code;

    PictureType(String type, int code) {
        this.type = type;
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public int getCode() {
        return code;
    }
}
